﻿namespace Repositories.RM;

/// <summary>
/// 登录日志分页查询请求模型
/// </summary>
public class LoginLogPageQueryRM : PageQueryRM
{
    /// <summary>
    /// 登录用户名
    /// </summary>
    public string? Account { get; set; }

    /// <summary>
    /// 登录姓名
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 角色名称
    /// </summary>
    public string? RoleName { get; set; }

    /// <summary>
    /// 登录开始时间
    /// </summary>
    public string? LoginTimeStart { get; set; }

    /// <summary>
    /// 登录结束时间
    /// </summary>
    public string? LoginTimeEnd { get; set; }
}
/// <summary>
/// 登录日志导出分页查询请求模型
/// </summary>
public class ExportLoginLogPageQueryRM
{
    /// <summary>
    /// 登录用户名
    /// </summary>
    public string? Account { get; set; }

    /// <summary>
    /// 登录姓名
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 角色id
    /// </summary>
    public int RoleId { get; set; }

    /// <summary>
    /// 登录开始时间
    /// </summary>
    public string? LoginTimeStart { get; set; }

    /// <summary>
    /// 登录结束时间
    /// </summary>
    public string? LoginTimeEnd { get; set; }
    /// <summary>
    /// 排序字段名称
    /// </summary>
    public string? FieldName { get; set; }
    /// <summary>
    /// 是否倒序
    /// </summary>
    public bool Desc { get; set; }
}